<?php

namespace app\common\model;

use think\model\Pivot;

class UserCinema extends Pivot
{
    public function user()
    {
        return $this->belongsTo(User::class);
    }
    
    public function cinema()
    {
        return $this->belongsTo(Cinema::class);
    }
}